#include "etcd.hpp"
#include "logger.hpp"
int main()
{
    init_logger(false,"",0);
    Registry reg("http://127.0.0.1:2379");
    reg.registry("/service/user","127.0.0.1:8080");
    reg.registry("/service/friend","127.0.0.1:9090");
    std::this_thread::sleep_for(std::chrono::seconds(10));
    return 0;
}